=detailed view=

==software design==

Our program to find its way out of a maze consists of three main methods. A callibration, 
a line following and a maze following method.

===callibrate()===
The callibration method finds the value for a white and a black background. It reads the 
value of both sensors and then calculates the mean value of it. By pressing escape you can 
go from white to black.

===followLine()===
The line following algorithm uses one sensor (the left) to detect the line. When it hits a black spot 
the robot goes to the right (for half a second) and when it hits a white spot it goes to the left.

===followmaze()===
The maze following is the main part of the program. It detects the lines and the crossroads. When 
there is only a line, it goes to followLine(). When it detects a crossroad to the right, the 
robot steers right. If both sensors detect a white spot, it means that the robot has reached 
a dead end and it will turn around.
